﻿using SSDPNET;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ATSceneExample
{
    public partial class ATProjectExampleForm : Form
    {
        public ATProjectExampleForm()
        {
            InitializeComponent();
        }

        private void btn_ShowATProject_Click(object sender, EventArgs e)
        {
            ATProjectMethod.ShowActiveProject();
        }

        private void btn_OpenOtherProject_Click(object sender, EventArgs e)
        {
            ATProjectMethod.OpenOtherProjectBackGroud();
        }

        private void btn_LoadAndAttachScene_Click(object sender, EventArgs e)
        {
            ATProjectMethod.OpenOtherProjectBackGroud_LoadScene();
        }

        private void btn_GetATSceneActiveProject_Click(object sender, EventArgs e)
        {
            ATProjectMethod.GetATSceneFromATProject();
        }

        private void btnOpenImportDialog_Click(object sender, EventArgs e)
        {
            SSDPFF.OpenImportFileDialog();
        }

        private void btnOpenExportDialog_Click(object sender, EventArgs e)
        {
            SSDPFF.OpenExportFileDialog();
        }

        private void btnOpenPropertyPanel_Click(object sender, EventArgs e)
        {
            SSDPFF.OpenPropertyPanel();
        }
    }
}
